<?php

namespace App\Composers;

use Auth, Request, Route, DB, App;
use Illuminate\View\View;

use App\Repositories\Eloquent\RoleRepository as Role;
use App\Repositories\Eloquent\PermissionRepository as Permission;

use Illuminate\Support\Str;

class NavbarComposer 
{ 

    public function compose(View $view) 
    {        
        $view->with([
            'title' => 'messages.'.Route::currentRouteName(),
            'current' => \App\Models\Mgt\Activity::current(),
        ]);
    }

   
}

